package com.cskaoyan.vo.promotevo;

import com.cskaoyan.bean.promotebean.Groupon_rules;

import java.util.List;

/**
 * @Author: feisl
 * @Date: 2021/5/10 14:35
 */
public class Groupon_rulesVO {

    /**
     * total : 3
     * items : [{"id":7,"goodsId":1039051,"goodsName":"多功能午睡枕","picUrl":"http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png","discount":11,"discountMember":11,"addTime":"2021-05-10 11:02:32","updateTime":"2021-05-10 11:02:32","expireTime":"2021-05-11 00:00:00","deleted":false},{"id":4,"goodsId":1039051,"goodsName":"多功能午睡枕","picUrl":"http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png","discount":10,"discountMember":2,"addTime":"2021-05-10 10:21:17","updateTime":"2021-05-10 10:21:17","expireTime":"2021-05-31 10:20:38","deleted":false},{"id":1,"goodsId":1039051,"goodsName":"多功能午睡枕","picUrl":"http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png","discount":200,"discountMember":2,"addTime":"2018-11-08 13:41:44","updateTime":"2021-05-10 10:19:47","expireTime":"2019-12-31 00:00:00","deleted":false}]
     */

    private Long total;
    private List<Groupon_rules> items;

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<Groupon_rules> getItems() {
        return items;
    }

    public void setItems(List<Groupon_rules> items) {
        this.items = items;
    }

    public static class ItemsBean {
        /**
         * id : 7
         * goodsId : 1039051
         * goodsName : 多功能午睡枕
         * picUrl : http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png
         * discount : 11
         * discountMember : 11
         * addTime : 2021-05-10 11:02:32
         * updateTime : 2021-05-10 11:02:32
         * expireTime : 2021-05-11 00:00:00
         * deleted : false
         */

        private int id;
        private int goodsId;
        private String goodsName;
        private String picUrl;
        private int discount;
        private int discountMember;
        private String addTime;
        private String updateTime;
        private String expireTime;
        private boolean deleted;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public int getDiscount() {
            return discount;
        }

        public void setDiscount(int discount) {
            this.discount = discount;
        }

        public int getDiscountMember() {
            return discountMember;
        }

        public void setDiscountMember(int discountMember) {
            this.discountMember = discountMember;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getExpireTime() {
            return expireTime;
        }

        public void setExpireTime(String expireTime) {
            this.expireTime = expireTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }
    }
}
